<?php
    abstract class Pager
    {
        abstract public function Build(&$data,$params=NULL);

        public function Fetch(&$data,$params=NULL)
        {
            return $this->Build($data,$params);
        }

        public function Display(&$data,$params=NULL)
        {
            echo $this->Fetch($data,$params);
        }
    }
?>
